/*
 * @Author: 贾博林 11457230+jabolin@user.noreply.gitee.com
 * @Date: 2022-10-21 14:40:08
 * @LastEditors: 贾博林 11457230+jabolin@user.noreply.gitee.com
 * @LastEditTime: 2022-10-24 15:54:12
 * @FilePath: \v-shop\code\src\http\api.js
 * @Description: api封装
 */

import request from './request'

// 登录
export function login(data) {
    return request({
        url: "login",
        method: "post",
        data
    })
}

// myaside侧边栏 数据渲染
export function menus() {
    return request({
        url: "menus",
        method: "get",

    })
}



